package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Permission;

public interface PermissionService {

    PageResult findPage(QueryPageBean queryPageBean);

    Integer add(Permission permission) throws Exception;

    Integer edit(Permission permission) throws Exception;

    Integer deleteById(Integer id);

    Permission findById(Integer id);
}
